package com.gridmobi.xrtb.model;

/**
 * @author huangyongchao
 */
public enum SspE {
    /**
     *
     */
    Smaato(1), Algorix(2), Yeahmobi(3);


    public int v;

    private SspE(int v) {
        this.v = v;
    }

    public static int getV(String sspname) {
        if ("smaato".equalsIgnoreCase(sspname)) {
            return 1;
        } else if ("algorix".equalsIgnoreCase(sspname)) {
            return 2;
        } else if ("yeahmobi".equalsIgnoreCase(sspname)) {
            return 3;
        }else {
            return 0;
        }
    }

}
